//
//  SignModel.swift
//  甜言蜜语
//
//  Created by yingli_yanfa_liuxingyu on 16/9/7.
//  Copyright © 2016年 wl. All rights reserved.
//

import Foundation
import SwiftyJSON
//签到
class signModel: NewsModelInitProtocol {
    
    
    var isqiandao: Bool
    var qiandaolist: [signListModel]?
    var qiandaonumber: String
    required init(json: JSON) {
        isqiandao = json["isqiandao"].boolValue
        qiandaolist = ModelArrayProvider.arrayModel(signListModel.self, json: json["qiandaolist"])
        qiandaonumber = json["qiandaonumber"].stringValue
    }
}
class signListModel: NewsModelInitProtocol {
    var id: String
    var week: String
    required init(json: JSON) {
        id = json["id"].stringValue
        week = json["week"].stringValue
    }
}
